package com.hsd.netty.server.common;

import org.msgpack.annotation.Message;

/**
 * @author s.he
 * on 2020/6/1
 */
@Message
public class NettyMessage {
    private NettyHeader nettyHeader;

    private String body;

    public NettyHeader getNettyHeader() {
        return nettyHeader;
    }

    public void setNettyHeader(NettyHeader nettyHeader) {
        this.nettyHeader = nettyHeader;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }
}
